<%@page pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<s:if test="hasActionMessages() || hasFieldMessages()">
	<div>
		<ul>
			<s:iterator value="fieldMessages">
				<li>
					<s:property value="value" />
				</li>
			</s:iterator>
			<s:iterator value="actionMessages">
				<li>
					<s:property value="getText(top)" />
				</li>
			</s:iterator>
		</ul>
	</div>
</s:if>